#!/usr/bin/env python

bld.SAMBA_LIBRARY('netif',
    source='interface.c netif.c',
    autoproto='netif_proto.h',
    deps='samba-util',
    private_library=True
    )

bld.SAMBA_MODULE('socket_ip',
    source='socket_ip.c',
    subsystem='samba_socket',
    deps='errors',
    internal_module=True
    )

bld.SAMBA_MODULE('socket_unix',
    source='socket_unix.c',
    subsystem='samba_socket',
    deps='talloc',
    internal_module=True
    )

bld.SAMBA_SUBSYSTEM('samba_socket',
    source='socket.c access.c connect_multi.c connect.c',
    public_deps='talloc LIBTSOCKET',
    deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix'
    )

